package com.wisdudu.blank.data.source.remote.service;

import com.wisdudu.blank.data.source.remote.client.retrofit.client.RetrofitClient;

/**
 * Created by qyf on 2016/10/13.
 */

public enum TestService {
    INSTANCE;

    private TestAPI mTestAPI;

    TestService() {
        mTestAPI = RetrofitClient.INSTANCE
                .getRetrofitBuilder()
                .baseUrl(TestAPI.BASE_URL).build()
                .create(TestAPI.class);
    }

    public TestAPI getApi() {
        return mTestAPI;
    }
}
